package com.zhongjian.technologycal.mall.activity.main.fragment;

import android.content.Intent;
import android.os.Bundle;
import android.view.View;
import android.widget.LinearLayout;

import com.zhongjian.technologycal.mall.R;
import com.zhongjian.technologycal.mall.activity.main.activity.CourseIntroduceActivity;
import com.zhongjian.technologycal.mall.base.BaseUserFragment;

import butterknife.BindView;

/**
 * Created by wei on 2017/12/11.
 */

public class GoldCourseFragment extends BaseUserFragment {
    public static final String CATEGORY_NAME = "com.nanchen.aiyagirl.module.category.CategoryFragment.CATEGORY_NAME";
    @Override
    protected void init() {
//        zhongjian_test.setOnClickListener(new View.OnClickListener() {
//            @Override
//            public void onClick(View view) {
//                Intent intent = new Intent();
//                intent.setClass(getActivity(), CourseIntroduceActivity.class);
//                startActivity(intent);
//            }
//        });
    }

    @Override
    protected int getContentViewLayoutID() {
        return R.layout.fragment_hot_recommend;
    }

    public static GoldCourseFragment newInstance(String mCategoryName) {
        GoldCourseFragment categoryFragment = new GoldCourseFragment();
        Bundle bundle = new Bundle();
        bundle.putString(CATEGORY_NAME, mCategoryName);
        categoryFragment.setArguments(bundle);
        return categoryFragment;
    }
}
